package com.clayecloud.common.mappers;

import com.clayecloud.common.entity.RolePermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author  ClayeLink
 * @date  2021/12/31 14:51
 */
@Mapper
public interface RolePermissionMapper {
    int deleteByPrimaryKey(@Param("roleId") Integer roleId, @Param("permissionId") Integer permissionId);

    int insert(RolePermission record);

    int insertSelective(RolePermission record);
}